DX11 GET CAMERA DEPTH STENCIL BUFFER
Retrieves the depth-stencil buffer (as an image) for the given camera.
The depth-stencil buffer is of the DXGI_FORMAT_D24_UNORM_S8_UINT format and can be set as a texture to objects / limbs.
Note that you will have to delete the returned image when you are done with it; it will not be automatically deleted when the camera is.
Return Dword = DX11 GET CAMERA DEPTH STENCIL BUFFER(camera)
camera
Dword
The camera to get the depth-stencil buffer of.
The image that the camera uses as its depth stencil buffer, or 0 if there is no such buffer.
CAMERA Functions Menu
DX11 Function Categories